package com.chixing.day03_oop;

public class CompanyTest {
    public static void main(String[] args) {
        // 实例化对象 (创建对象)
        Company company1 = new Company();
        company1.setCompanyId(90001);
        company1.setCompanyName("中国华为");
        company1.setCompanyTelno(18442888888L);
        company1.setCompanyType("民营企业");

        System.out.println( company1.getCompanyId());
        System.out.println( company1.getCompanyName());
        System.out.println( company1.getCompanyTelno());



        int x =10;
        add(x); // 实际参数 （实参 arguments /args）

    }

    public static int add(int temp){// 形式参数（形参 parameter/ param）[局部变量，临时变量 local variable ]
         temp = 11;
        return 0;
    }




}
